package cn.edu.ujn.lab3.service;

import cn.edu.ujn.lab3.dao.Invoice;
import cn.edu.ujn.lab3.util.Page;

public interface InvoiceService {
	
	//查询发票列表
	public Page<Invoice> findInvoiceList(Integer page,Invoice invoice);
	
	//创建发票
	public int createInvoice(Invoice invoice);
	
	// 通过id查询
    public Invoice getInvoiceById(Integer id);

    // 更新
    public int updateInvoice(Invoice invoice);
    
    // 删除
    public int deleteInvoice(Integer id);

}
